package com.wbk.user.feign;

import com.github.pagehelper.PageInfo;
import com.wbk.user.qo.StoreAuditQO;
import com.wbk.user.vo.StoreVO;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;
import result.Result;

@Component
@FeignClient(value = "lottery-system-user")
public interface StoreFeign {

    @GetMapping("/feign/admin/store/storeDetail/{storeUserNo}")
    Result<StoreVO> storeDetail(@PathVariable("storeUserNo") Long storeUserNo);

    @PostMapping("/feign/admin/store/storeAudit")
    Result<StoreVO> storeAudit(@RequestBody StoreAuditQO storeAuditQO);
}
